package com.itheima.service.impl;

import com.itheima.dao.LogDao;
import com.itheima.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author 刘全
 * @date 2021/9/13
 */
@Service
public class LogServiceImpl implements LogService {
    @Autowired
    private LogDao logDao;



    @Override
    public void save(Date date,String message) {
        logDao.save(date,message);
    }
}
